set(LLVM_LINK_COMPONENTS
  BinaryFormat
  DebugInfoCodeView
  DebugInfoDWARF
  Object
  ObjectYAML
  Support
  )

add_llvm_tool(obj2yaml
  obj2yaml.cpp
  coff2yaml.cpp
  dwarf2yaml.cpp
  elf2yaml.cpp
  macho2yaml.cpp
  minidump2yaml.cpp
  xcoff2yaml.cpp
  wasm2yaml.cpp
  Error.cpp
  )
